package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 客户每日餐单统计
 * </p>
 *
 * @author 崔倩倩
 * @since 2018-08-31
 */
@TableName("menu_evaluate")
public class MenuEvaluate extends Model<MenuEvaluate> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 房间id
     */
	@TableField("room_id")
	private Long roomId;
    /**
     * 餐单id
     */
	@TableField("menu_id")
	private Long menuId;
    /**
     * 评价等级
     */
	private Integer star;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRoomId() {
		return roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public Integer getStar() {
		return star;
	}

	public void setStar(Integer star) {
		this.star = star;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "MenuEvaluate{" +
				"id=" + id +
				", roomId=" + roomId +
				", menuId=" + menuId +
				", star=" + star +
				", createTime=" + createTime +
				'}';
	}
}
